package com.net.xpay.admin.vo;

import com.net.xpay.common.enums.openapi.OpenAppStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
public class OpenAppVo {
    private Long id;

    @ApiModelProperty(notes = "商户号")
    private Long userId;

    @ApiModelProperty(notes = "商户名称")
    private String userName;

    @ApiModelProperty(notes = "应用状态")
    private OpenAppStatus status;

    @ApiModelProperty(notes = "平台公钥")
    private String publicKey;

    @ApiModelProperty(notes = "应用公钥")
    private String appPublicKey;

    @ApiModelProperty(notes = "请求内容加密 bizContent加密")
    private String encryptKey;

    @ApiModelProperty(notes = "是否开启白名单效验 默认都是开启 若关闭需要签署安全责任协议")
    private Boolean checkIp;

    @ApiModelProperty(notes = "白名单ips")
    private List<String> whiteIps;

}
